/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package 时间;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class 时间 {
public static void main(String[] args) {
String[] months =	{"一月", "二月", "三月", "四月",
                   	"五月", "六月", "七月", "八月",
                    	"九月", "十月", "十一月", "十二月"};
Calendar rightNow = Calendar.getInstance();
int monthConstant = rightNow.get(Calendar.MONTH);
System.out.println(months[monthConstant]);

   String[] dayOfWeek = {"", "日", "一", "二",
                      "三", "四", "五", "六"};
int dayOfWeekConstant = rightNow.get(Calendar.DAY_OF_WEEK);
System.out.println(dayOfWeek[dayOfWeekConstant]);
}
}
